package cn.edu.sgu.www.mhxysy.service.chongwu_shizhuang;

import cn.edu.sgu.www.mhxysy.dto.chongwu_shizhuang.ChongwuShizhuangAttributeDTO;
import cn.edu.sgu.www.mhxysy.entity.chongwu_shizhuang.ChongwuShizhuangAttribute;
import cn.edu.sgu.www.mhxysy.vo.except.AttributeVO;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
public interface ChongwuShizhuangAttributeService {

    void insert(ChongwuShizhuangAttributeDTO chongwuShizhuangAttributeDTO);

    void deleteById(String id);

    void updateById(ChongwuShizhuangAttributeDTO chongwuShizhuangAttributeDTO);

    /**
     * 通过宠物时装ID查询宠物时装属性
     * @param shizhuangId 宠物时装ID
     * @return AttributeVO
     */
    AttributeVO selectAttribute(String shizhuangId);

    List<ChongwuShizhuangAttribute> selectByShizhuangId(String shizhuangId);
}